package com.shopping.bean;

import java.util.Date;

public class User {

	public String thisTable = "Users";
	
	private int userId;//用户id
	
	private String userName;//用户名
	
	private String passWord;//密码
	
	private String address;//地址
	
	private String phone;//电话
	
	private Date register;//注册时间
	
	private String userImage;//用户头像
	
	private String userSex;

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getRegister() {
		return register;
	}

	public void setRegister(Date register) {
		this.register = register;
	}
	
	public String getUserImage() {
		return userImage;
	}

	public void setUserImage(String userIamge) {
		this.userImage = userIamge;
	}

	public User() {
		super();
		// TODO Auto-generated constructor stub
	}

	public User(int userId, String userName, String passWord, String address, String phone,Date register,String userImage) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.passWord = passWord;
		this.address = address;
		this.phone = phone;
		this.register = register;
		this.userImage = userImage;
	}

	public User(String userName, String passWord, String phone, Date register,String userImage,String userSex) {
		super();
		this.userName = userName;
		this.passWord = passWord;
		this.phone = phone;
		this.register = register;
		this.userImage = userImage;
		this.userSex = userSex;
	}

	public User(int userId,String userName, String passWord, String address, String phone, String userSex) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.passWord = passWord;
		this.address = address;
		this.phone = phone;
		this.userSex = userSex;
	}
	
	public User(int userId, String userName, String passWord) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.passWord = passWord;
	}

	public User(String userName, String passWord, String address, String phone, String userImage, String userSex) {
		super();
		this.userName = userName;
		this.passWord = passWord;
		this.address = address;
		this.phone = phone;
		this.userImage = userImage;
		this.userSex = userSex;
	}
	
	
	
}
